package com.wangzhixuan.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wangzhixuan.model.Analysis;
import com.wangzhixuan.model.vo.OpearteVo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;


/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-26
 */
public interface AnalysisMapper extends BaseMapper<Analysis> {

	List<Analysis> selectAnalysisPage(Pagination page, Map<String, Object> params);

	List<Map<String, Object>> selectReasonByWorkId(Integer workId);
	
	List<Map<String, Object>> selectPonByWorkId(@Param("workId") Integer workId);

	Map<String,Object> selectPhenomenonByWorkId(Integer workId);

	void updateOpearte(Map<String,Object> map);

}